package pers.cz.chat.filter;

import pers.cz.chat.constants.JefClolorEnum;
import pers.cz.chat.utils.LogUtils;

import java.util.Scanner;

/**
 * @version 1.0
 * @description: 键盘输入抽象接口
 * @author: ChengZhi 0336
 * @create: 2025-05-27 16:38
 **/
public interface ScannerImpl {

	static String getInput(String tips) {
		Scanner groupNameScanner = new Scanner(System.in);
		LogUtils.print(JefClolorEnum.GREEN,tips);
		return groupNameScanner.nextLine();
	}
}
